Automattic\Jetpack\Publicize\Publicize C

Total Complexity 105
Dependencies 7
Dependents 7
Total lines 734
Lines of code 397
Logical lines of code 201
Comment lines 255
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
get_all_connections_for_user()
A
46 15 36
display_connection_error()
A
41 10 61
get_connections()
A
56 8 18
test_connection()
S
49 6 29
add_connection_test_results()
S
57 5 15
flag_post_for_publicize()
S
61 5 12
get_services()
S
54 4 23
refresh_connections()
S
58 4 16
set_post_flags()
S
58 4 16
admin_page_warning()
S
50 2 34
globalization()
S
66 4 8
save_publicized()
S
64 4 9
get_all_connections()
S
64 3 11
force_user_connection()
S
62 3 11
get_connection_for_user()
S
67 3 8
post_is_done_sharing()
S
67 3 7
admin_page_load()
S
68 3 6
unglobalize_connection()
S
66 2 8
receive_updated_publicize_connections()
S
65 2 9
globalize_connection()
S
66 2 8
display_disconnected()
S
72 1 5
register_update_publicize_connections_xmlrpc_method()
S
68 1 8
clear_connections_transient()
S
81 1 3
connect_url()
S
79 1 3
refresh_url()
S
79 1 3
disconnect_url()
S
79 1 3
disconnect()
S
78 1 3
get_connection()
S
91 1 2
add_disconnect_notice()
S
79 1 3
get_connection_meta()
S
76 1 4
get_connection_unique_id()
S
80 1 3
get_connection_id()
S
80 1 3
__construct()
S
64 1 9